package com.xj.spring.framework.beans;

/**
 * @author: xujiang
 * @createTime: 2021/5/7 15:24
 */
public class MyBeanWrapper {

    private Object wrapperedInstance;
    private Class<?> wrappedClass;

    public MyBeanWrapper(Object wrapperedInstance) {
        this.wrapperedInstance = wrapperedInstance;
        this.wrappedClass = wrapperedInstance.getClass();
    }

    public Object getWrappedInstance(){
        return this.wrapperedInstance;
    }

    public Class<?> getWrappedClass(){
        return this.wrappedClass;
    }
}
